code: def uncan_dict(obj, g=None):
      if istype(obj, dict):
          newobj = {}
          for k, v in iteritems(obj):
              newobj[k] = uncan(v, g)
          return newobj
      else:
          return obj
  
imports: import warnings
  import copy
  import sys
  from types import FunctionType
  from ipython_genutils import py3compat
  from ipython_genutils.importstring import import_item
  from ipython_genutils.py3compat import string_types, iteritems, buffer_to_bytes, buffer_to_bytes_py2
  from traitlets.log import get_logger
label_desc: Use image node_id 12 for calling a global function with example usage: uncan_dict(obj, g) and returns: newobj, obj