docs: def asDictionary(self):
          """returns the feature as a dictionary"""
          feat_dict = {}
          if self._geom is not None:
              if 'feature' in self._dict:
                  feat_dict['geometry'] = self._dict['feature']['geometry']
              elif 'geometry' in self._dict:
                  feat_dict['geometry'] =  self._dict['geometry']
          if 'feature' in self._dict:
              feat_dict['attributes'] = self._dict['feature']['attributes']
          else:
              feat_dict['attributes'] = self._dict['attributes']
          return self._dict