code: def dogmatize(obj):
      if isinstance(obj, dict):
          return DogmaticDict(
              {key: dogmatize(val) for key, val in obj.items()}
          )
      elif isinstance(obj, list):
          return DogmaticList([dogmatize(value) for value in obj])
      elif isinstance(obj, tuple):
          return tuple(dogmatize(value) for value in obj)
      else:
          return obj
  
file_path: sacred/sacred/config/utils.py
imports: import jsonpickle.tags
  from sacred import SETTINGS
  import sacred.optional
  from sacred.config.custom_containers import DogmaticDict, DogmaticList
  from sacred.utils import PYTHON_IDENTIFIER
label_desc: Use image node_id 6 for calling a global function with example usage: dogmatize(obj) and returns: DogmaticDict, DogmaticList, tuple, obj