If non-empty body is returned and cannot be converted to JSON, then return error to caller.