create JSON tree (without leafs) from oschema instance for navigation