need to figure out how to pass json_object into javascript in tree.html file