code: def dumps(obj: Any) -> bytes:
      # this is usually a Tuple of args where the first one is what we send to the task
      # but it can also get other arbitrary data which we need to serde
      # since we might get bytes directly from the web endpoint we can avoid double
      # unserializing it by keeping it inside the nested args list org_payload[0][0]
      return sy.serialize(obj, to_bytes=True)
  
imports: from typing import Any
  from kombu import serialization
  import syft
  from syft.logger import error
label_desc: Use image node_id 2 for calling a global function with example usage: dumps(obj) and returns: sy