make CurrencyCode serializable