code: def __geomToPointList(self, geom):
          
          sr = geom.spatialReference
          wkid = None
          wkt = None
          if sr is None:
              if self._wkid is None and self._wkt is not None:
                  wkt = self._wkt
              else:
                  wkid = self._wkid
          else:
              wkid = sr.factoryCode
          g = json.loads(geom.JSON)
          top = []
          for gring in g['rings']:
              ring = []
              for g in gring:
                  ring.append(Point(coord=g, wkid=wkid, wkt=wkt, z=None, m=None))
              top.append(ring)
          return top
docs: converts a geometry object to a common.Geometry object