docs: def _to_dict(self):
          """Return a json dictionary representing this model."""
          _dict = {}
          if hasattr(self, 'field') and self.field is not None:
              _dict['field'] = self.field
          if hasattr(self, 'count') and self.count is not None:
              _dict['count'] = self.count
          return _dict