Be even more robust in detecting bad API JSON.