note Apis
Canonical Serialization: Why the Same Object Hashes Differently
Serialization isn't canonical, so the same object can hash differently across systems. If a payload hash drives duplicate detection, sort the token tree with an ordinal comparer and decide arrays and nulls on purpose.