docs: def convert(cls, record):
          """
          Converts a single dictionary or list of dictionaries into converted list of dictionaries.
          """
          if isinstance(record, list):
              return [cls._convert(r) for r in record]
          else:
              return [cls._convert(record)]