Updating json parsing for simple api requests.