Set MSGID based on report type, refactor report format
Set MSGID based on report type, refactor report format

fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb