code: def create_manifest_from_test_json(test_json):
      test_ = {k.replace("-", "_"): v for k, v in test_json.items()}
      test_["requirements_file"] = ""
      test_["runtime"] = RuntimeType.PYTHON3.value
      test_["config_file"] = ""
  
      args = namedtuple("Model", test_.keys())(**test_)
      manifest = ModelExportUtils.generate_manifest_json(args)
      return manifest
  
file_path: serve/model-archiver/model_archiver/tests/unit_tests/test_model_packaging_utils.py
imports: import json
  import platform
  from collections import namedtuple
  from pathlib import Path
  import pytest
  from model_archiver import ModelArchiverConfig
  from model_archiver.manifest_components.manifest import RuntimeType
  from model_archiver.model_archiver_error import ModelArchiverError
  from model_archiver.model_packaging_utils import ModelExportUtils
label_desc: Use image node_id 2 for calling a global function with example usage: create_manifest_from_test_json(test_json) and returns: manifest