adding csv_to_json code