Allow the Ledger to generically write to either Json model.
Make RPC::Ledger generic.