code: def _get_extra(self, attrs, exclude):
          
          result = {}
          for key in attrs.getNames():
              if key not in exclude:
                  result[str(key)] = str(attrs[key])
          return result
docs: Read the extra properties, taking into account an exclude list