class_docstr: Model is a part of the manifest.json. It defines the properties of the model such as name, version as weill
  as the entry point into the service code through the handler property
code: def __to_dict__(self):
      model_dict = {}
  
      model_dict["modelName"] = self.model_name
  
      if self.serialized_file:
          model_dict["serializedFile"] = self.serialized_file
  
      model_dict["handler"] = self.handler
  
      if self.model_file:
          model_dict["modelFile"] = self.model_file.split("/")[-1]
  
      if self.model_version:
          model_dict["modelVersion"] = self.model_version
  
      if self.extensions:
          model_dict["extensions"] = self.extensions
  
      if self.requirements_file:
          model_dict["requirementsFile"] = self.requirements_file.split(
              "/"
          )[-1]
  
      if self.config_file:
          model_dict["configFile"] = self.config_file
  
      return model_dict
  
file_path: serve/model-archiver/model_archiver/manifest_components/model.py
imports: import json
  import os
label_desc: Use image node_id 2 for calling the Model obj's underlying member method code with example usage: obj.__to_dict__() and returns: model_dict