don't crash when responding to json-p errors