check if server response is valid JSON