code: def __init__(self, metadata):
      self.types = metadata
      self.cache = set()
      self._primitives = {
          "int": "int64",
          "float": "float32",
          "bool": "boolean",
          "str": "string",
      }
  
imports: import json
  import os
label_desc: Use image node_id 1 to create a new Metadata object  with example: obj = Metadata(metadata)