WIP for dumping serialized ledgers and txs to json file.