pub fn catalog_document(catalog: &Catalog) -> ValueExpand description
Builds the ordered document serialize_catalog renders to bytes — sections and known fields in
the fixed order of the format (docs/format.md, „hayson.json w formacie 2“), tables and
fields sorted alphabetically by key, indexes/checks/relations/views sorted by name,
and history left in the order it arrived.