code: def _register_dumper(what):
      def wrapper(func):
          for w in what:
              _dumpers[w] = functools.partial(func, w)
          return func
  
      return wrapper
  
imports: import base64
  import functools
  import pickle
  import sys
  from collections import OrderedDict, defaultdict, namedtuple
  from copy import copy
  from datetime import datetime, timedelta
label_desc: Use image node_id 1 for calling a global function with example usage: _register_dumper(what) and returns: wrapper, func