Chargen: Minor fix for import_json