fixes the last N/A in the json dump and converts (apparently) correctly to a simple .csv file too