[fold] JsonWriter.h
[fold] handlers/Ledger.cpp
New generic Ledger RPC handler.
Send output incrementally in StreamHandlerImp.
Refactor away RPCHandler::doRpcCommand