This is maybe a bit of a performance hit, but when not pretty-printed the keys appear in a nondeterministic order, which impairs unit testing.