code: def process_hyperparameters(hyperparameters: dict) -> dict:
      hyperparameters = copy.deepcopy(hyperparameters)
  
      has_levels = False
      top_level_keys = hyperparameters.keys()
      for key in top_level_keys:
          if isinstance(key, int) or key == "default":
              has_levels = True
      if not has_levels:
          hyperparameters = {"default": hyperparameters}
      top_level_keys = hyperparameters.keys()
      for key in top_level_keys:
          for subkey in hyperparameters[key].keys():
              if not isinstance(hyperparameters[key][subkey], list):
                  hyperparameters[key][subkey] = [
                      hyperparameters[key][subkey]
                  ]
      if "default" not in hyperparameters.keys():
          level_keys = [
              key
              for key in hyperparameters.keys()
              if isinstance(key, int)
          ]
          max_level_key = max(level_keys)
          hyperparameters["default"] = copy.deepcopy(
              hyperparameters[max_level_key]
          )
      return hyperparameters
  
label_desc: Use image node_id 1 for calling a global function with example usage: process_hyperparameters(hyperparameters) and returns: hyperparameters