Generate HTML element data for each object in the matrix WARNING: This is a recursive function.
The DomItem having child DomItems with config changes to be applied
Generate HTML element data for each object in the matrix WARNING: This is a recursive function.