Added .replace('"@id" : "urn:x-arq:DefaultGraphNode",','') to remove the Default Graph id as it breaks the JSON-LD processor framing.