Quick code review (export_json.py)