Allow the Ledger to generically write to either Json model.
Make RPC::Ledger generic.
Move code out of namespace ripple::RPC::New.
Fix up variables in LedgerToJson