Fix references to error message from JSON responses

…now that we've standardized on the response format.