Retrieve data json and put in model