implemented json for orderbook