Reformatting of the output of nested objects. This model engine needs rewriting.