Marshal non-standard currencies as hex so they can be unmarshaled again