Convert the data file to JSON