So for the dict part of the encoding, the output needs to be in a specific order. BUT. Current implementation uses a HashMap, which stores by nature keys in [random order](https://www.reddit.com/r/learnrust/comments/1di2eb2/why_rust_prints_map_keyvalue_pairs_in_different/).