Everything is working, not in the best format but working. There is a small error with at least recursive structures that is causing field declarations to be too low in the tree.