CurrencyPair Serialization.