Allow the encoder to print hashes

Both the decoder and the encoder should provide hash listings.