Convert files from JSON to CSV