Finalized getting data from json file