code: def json(self):
          
          if self.meta_type == 'list':
              ret = []
              for dat in self._list:
                  if not isinstance(dat, composite):
                      ret.append(dat)
                  else:
                      ret.append(dat.json())
              return ret
  
          elif self.meta_type == 'dict':
              ret = {}
              for key in self._dict:
                  if not isinstance(self._dict[key], composite):
                      ret[key] = self._dict[key]
                  else:
                      ret[key] = self._dict[key].json()
              return ret
docs: Return JSON representation of object.