code: def to_json(self):
          
  
          result = super(UIExtension, self).to_json()
          result.update({
              'extension': self.extension
          })
  
          return result
docs: Returns the JSON Representation of the UI extension.