in my codebase at:
https://github.com/jonathanlocke/superkit
when i manually fix the "language" bug i just reported, it does in fact generate the right JSON but you can't view the src tree fully using that JSON. I suspect this because there is a level at which there are no leaves in the tree and recursion stops there when it shouldn't.
https://github.com/jonathanlocke/superkit/tree/master/src/superkit