Bugfix for JSON-encoding of KnownCurrencies.
We could decode them from the server fine, but not encode them to something that would then decode. That meant they worked if coming from the backend, but not if we saved them to a gist. :-o
Fixed now, along with some extra roundtrip-JSON-encoding tests (and a recipe for writing more).