tundra.tn.document:parse now returns $schema and $schema.type for
JSON content