code: def convert_bytes_to_str(a, encoding="utf-8"):
      """
      Purpose: Converts the byte objects in the 1-D container into str (does not work for nested elements)
      :param a: iterable 1-D container
      :param encoding: str designating encoding format [default="utf-8"]
      :return: 1-D container with bytes converted to str
      """
      a_type = type(a)
      return a_type(
          map(
              lambda x: x.decode(encoding)
              if isinstance(x, bytes)
              else x,
              a,
          )
      )
  
label_desc: Use image node_id 3 for calling a global function with example usage: convert_bytes_to_str(a, encoding) and returns: a_type