Add JSON parsing of results from the API