new file, moved out of jsondata.py