It should be clarified that "the algorithms defined in [JSON-LD-API] have a flag, produce generalized RDF, to do so. Please note that there's no API for to/from RDF.