You don't need this class `exportLedgerClosure`.

LedgerExportData has a sequence of LedgerExportEntry. You can just use that to create a sequence of two entries: one for normal balance entry, and one for closure entry.