code: def export_collection(collection_name, output_folder):
      details_list = []
      output_folder = pathlib.Path(output_folder)
      for obj in bpy.data.collections[collection_name].all_objects:
          details_list.append(kubricify(output_folder, obj))
  
      with open(
          output_folder / "manifest.json", "w", encoding="utf-8"
      ) as f:
          json.dump(details_list, f, indent=4, sort_keys=True)
  
imports: import contextlib
  import copy
  import json
  import pathlib
  import tarfile
  import shutil
  import numpy
  import trimesh
  from kubric.safeimport.bpy import bpy
label_desc: Use image node_id 18 for calling a global function with example usage: export_collection(collection_name, output_folder) without return types