added a couple TODOs
made serializing maps deterministic, and not change with the randomness that they keys come out of a map in golang