docs: def json_error_formatter(body, status, title, environ):
      """A json_formatter for webob exceptions."""
      body = webob.exc.strip_tags(body)
      status_code = int(status.split(None, 1)[0])
      error_dict = {
          'status': status_code,
          'title': title,
          'detail': body
      }
      return {'errors': [error_dict]}