removed main() in json_processing