docs: def dump(self, config, instance, file_object, prefer=None, **kwargs):
          """ An abstract method that dumps to a given file object.
  
          :param class config: The config class of the instance
          :param object instance: The instance to dump
          :param file file_object: The file object to dump to
          :param str prefer: The preferred serialization module name
          """
  
          file_object.write(self.dumps(config, instance, prefer=prefer, **kwargs))