code: def _to_json(conf):
      import yaml
      from omegaconf import OmegaConf
  
      return yaml.safe_load(OmegaConf.to_yaml(conf))
  
imports: import argparse
  import json
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: _to_json(conf) and returns: yaml