pub fn canonical_of<T: Serialize>(value: &T) -> KResult<String>
Canonical form of any serializable value. Goes through Value on purpose: struct serialization emits fields in declaration order, Value emits them sorted.
Value