code: def value(self):
          
          if self._outline is None:
              return {
                  "type" : "esriSMS",
                  "style" : self._style,
                  "color" : self._color.value,
                  "size" : self._size,
                  "angle" : self._angle,
                  "xoffset" : self._xoffset,
                  "yoffset" : self._yoffset
              }
          else:
              return {
                  "type" : "esriSMS",
                  "style" : self._style,
                  "color" : self._color.value,
                  "size" : self._size,
                  "angle" : self._angle,
                  "xoffset" : self._xoffset,
                  "yoffset" : self._yoffset,
                  "outline" : {
                      "width" : self._outline['width'],
                      "color" : self._color.value
                  }
              }
docs: returns the object as dictionary