code: def asjsonld(self):
          
          source = {}
          if self.__source__:
              source.update(self.__source__)
          source.update(asjsonld(self))
          return source
docs: Create JSON-LD with the original source data.