docs: def _convert_to_seeder_format(dataset):
      """
      WA KAT dataset has different structure from Seeder. This is convertor
      which converts WA-KAT -> Seeder data format.
  
      Args:
          dataset (dict): WA-KAT dataset sent from frontend.
  
      Returns:
          dict: Dict with converted data.
      """
      data = {}
      seed = {}
  
      _add_if_set(data, "name", dataset.get("title"))
      _add_if_set(data, "issn", dataset.get("issn"))
      _add_if_set(data, "annotation", dataset.get("annotation"))
  
      rules = dataset.get("rules", {})
      if rules:
          _add_if_set(data, "frequency", rules.get("frequency"))
  
          # set seed info
          _add_if_set(seed, "budget", rules.get("budget"))
          _add_if_set(seed, "calendars", rules.get("calendars"))
          _add_if_set(seed, "global_reject", rules.get("global_reject"))
          _add_if_set(seed, "gentle_fetch", rules.get("gentle_fetch"))
          _add_if_set(seed, "javascript", rules.get("javascript"))
          _add_if_set(seed, "local_traps", rules.get("local_traps"))
          _add_if_set(seed, "youtube", rules.get("youtube"))
  
          _add_if_set(seed, "url", dataset.get("url"))
  
      if seed:
          data["seed"] = seed
  
      return data