jsonized the API response