Using response.json() to retrieve parsed json instead of explicit call