Allow the Ledger to generically write to either Json model.
Fix JsonWriter narrowing conversion error
Extract LedgerToJson.h