A python script to query a tree-format json file.