Write Json::Value using the incremental Json writer.
Allow the Ledger to generically write to either Json model.
Make RPC::Ledger generic.
Fix up variables in LedgerToJson