docs: def to_dict(self) -> Dict[str, List[int]]:
          """
          Returns the contents of this set as a JSON/YAML-ready dictionary.
          """
          return {fn: list(lines)
                  for (fn, lines) in self.__contents.items()}