Pulls model from json.