json file for tree()