jsondump: Fix boot image dumping