Using data from json file to populate in view