code: def dict_to_yaml(d, indent=0):
      yaml_str = ""
      for k, v in d.items():
          yaml_str += " " * indent + str(k) + ": "
          if isinstance(v, dict):
              yaml_str += "\n" + dict_to_yaml(v, indent + 2)
          else:
              yaml_str += str(v) + "\n"
      return yaml_str
  
label_desc: Use image node_id 2 for calling a global function with example usage: dict_to_yaml(d, indent) and returns: yaml_str