Convert JSON file to CSV,and vice versa.