setup.py, save_json function