Added a __dict__ property to TradeChain class to allow for easier JSON encoding.
Websocket now returns JSON representation of TradeChain objects.