Move read_json, write_json to jsontools.py