Assert we got a valid JSON.