Get the data from a json file instead of csv