The wt_binary_decode tool can be used to decode a hex dump from the WiredTiger logging when a corrupt block is found and is dumped in 1KB chunks. Currently, the raw byte content of cells can be output as a multi-line string with hex and printable characters. In the case of corruptions found in MongoDB the bytes corresponding to a WT_CELL_VALUE should be decodable BSON.
This ticket is to extend the tool to decode these bytes as BSON and print the result in a readable JSON format. If the bytes cannot be decoded a useful message about the contents should be outputted instead.