docs: def json(self):
          """Get the result of simplejson.loads if possible."""
          if 'json' not in self.environ.get('CONTENT_TYPE', ''):
              raise BadRequest('Not a JSON request')
          try:
              return loads(self.data)
          except Exception:
              raise BadRequest('Unable to read JSON request')