pub fn expand(registry: &Registry, document: &Value) -> Result<Processed, Error>Expand description
Expand a document: every key becomes the IRI it stands for.
The result is the JSON-LD expanded form — an array of node objects, with
every value wrapped as {"@value": …} or {"@id": …}. This is the form to
compare two documents in, and the form compact reads.