Checks if valid JSON response is returned

Check request for valid JSON response