code: def flatten(obj):
      return _json.loads(json.encode(obj, keys=True))
  
imports: import jsonpickle
  import json
  from sacred import optional
label_desc: Use image node_id 1 for calling a global function with example usage: flatten(obj) and returns: _json