Added support for integer -> enum deserialization. Use it for Bitstamp.