The non-flattened versions are nested tree-like structures, and you would have to write a recursive function to 'walk' through them in order to visit every context, or every project in every folder, rather than just the top-level nodes which are immediate children of the document.
The 'flattened' versions are full lists of every node in the tree.
The 'flattened' versions are full lists of every node in the tree.