A way to get data from json files