munge tags during emission