code: def test_ToPickle():
      class Foo:
          def __init__(self, data):
              self.data = data
  
      msg = {"x": ToPickle(Foo(123))}
      frames = dumps(msg)
      out = loads(frames)
      assert out["x"].data == 123
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_ToPickle() without return types