feature: made OrderBook an instance of toDocument.