code: def _context_json(name):
      
      from renku.models import provenance
  
      cls = getattr(provenance, name)
      return {
          '@context': cls._jsonld_context,
          '@type': cls._jsonld_type,
      }
docs: Return JSON-LD string for given context name.