code: def _level_name(name):
      # preserve type when default serializable, otherwise str it
      try:
          json.dumps(name)
          return name
      except TypeError:
          return str(name)
  
imports: import ast
  from collections.abc import Sequence
  from concurrent import futures
  import concurrent.futures.thread
  from copy import deepcopy
  from itertools import zip_longest
  import json
  import operator
  import re
  import warnings
  import numpy
  import pyarrow
  from pyarrow.lib import _pandas_api, frombytes
label_desc: Use image node_id 13 for calling a global function with example usage: _level_name(name) and returns: name, str