code: def value(self):
          
          if self._wkid == None and self._wkt is not None:
              return {"wkt": self._wkt}
          else:
              return {"wkid": self._wkid}
docs: returns the wkid id for use in json calls