I went through the smart-markers post. There is one topic about nested objects. But that is just for one object containing just one object inside.
I have a list of parents each with a list of child items(both parent and child are of same type). Is there a way to print parent object first, then all its nested objects below it and so on?