Added check to make sure throttled response is valid JSON.