Compress the mac strings in the dump result; minor modifications on output documents.