Click here for view the example picture
I need to get the hierarchy Data or store it into a dictionary from the outliner panel from Maya in the right order, how can i archive this ? , im working in autodesk maya and only can be store into a dict for further used as a .json file.