Convert JSON to CSV,csv_file.close()