docs: def value(self):
          """returns object as dictionary"""
          return {
              "objectIdFieldName" : self._objectIdFieldName,
              "displayFieldName" : self._displayFieldName,
              "globalIdFieldName" : self._globalIdFieldName,
              "geometryType" : self._geometryType,
              "spatialReference" : self._spatialReference,
              "hasZ" : self._hasZ,
              "hasM" : self._hasM,
              "fields" : self._fields,
              "features" : [f.asDictionary for f in self._features]
          }