made a sane stringify-hashmap function