work out the kinks in getting the api to give me the json data in response