Various enhancements to the dump utility
Provide some more information in the output (i.e. the document type), and verify its function during unit testing.
Provide some more information in the output (i.e. the document type), and verify its function during unit testing.