code: def loads(data: bytes) -> Any:
      # original payload might have nested bytes in the args
      org_payload = sy.deserialize(data, from_bytes=True)
      # original payload is found at org_payload[0][0]
      if (
          len(org_payload) > 0
          and len(org_payload[0]) > 0
          and isinstance(org_payload[0][0], bytes)
      ):
          try:
              nested_data = org_payload[0][0]
              org_obj = sy.deserialize(nested_data, from_bytes=True)
              org_payload[0][0] = org_obj
          except Exception as e:
              error(f"Unable to deserialize nested payload. {e}")
              raise e
  
      return org_payload
  
imports: from typing import Any
  from kombu import serialization
  import syft
  from syft.logger import error
label_desc: Use image node_id 1 for calling a global function with example usage: loads(data) and returns: org_payload