in the first photo I've clicked "Credit Memos" and it makes an ajax call even with the children already shown being present in the second photo. The second photo shows the data that is returned from the loading of the Tree Store that loads the initial set of folders in the first photo.
"TreeNode" in the php code is just a PHP object that mirrors the Ext Tree Node