docs: def asJSON(self):
          """ returns a geometry as JSON """
          value = self._json
          if value is None:
              value = json.dumps(self.asDictionary,
                                 default=_date_handler)
              self._json = value
          return self._json