code: def _tuple_to_list(node):
      if isinstance(node, (list, tuple)):
          return [_tuple_to_list(el) for el in node]
      elif isinstance(node, dict):
          return {k: _tuple_to_list(v) for k, v in node.items()}
      else:
          return node
  
imports: from __future__ import annotations
  import asyncio
  from collections import defaultdict
  from collections.abc import Awaitable, Callable, Collection, Mapping
  from pathlib import Path
  from typing import IO, Any, Literal
  import msgpack
  from dask.typing import Key
  from distributed._stories import scheduler_story
  from distributed._stories import worker_story
label_desc: Use image node_id 1 for calling a global function with example usage: _tuple_to_list(node) and returns: unknown, unknown, node