Serializes the given RDF/JS Quads to JSON-LD.