pub fn normalize_descriptor(json: &[u8]) -> Option<Vec<u8>>Expand description
Normalize one resource.json descriptor for comparison: parse,
strip the two live-evidenced volatility fields
(attributes.lastModification and
attributes.lastModificationSignature — keep every other
attribute and all semantic keys), recursively sort object keys,
re-serialize compact. None for non-JSON or a non-object root —
the caller hashes the raw bytes instead (the descriptor is exotic
or corrupt; content honesty over a false equality).