Rewrite entity ids to jsonld links in jsonld mode