Fix up variables in LedgerToJson