code: def to_json(self):
          
  
          result = super(Role, self).to_json()
          result.update({
              'name': self.name,
              'description': self.description,
              'permissions': self.permissions,
              'policies': self.policies
          })
          return result
docs: Returns the JSON representation of the role.