output multiline %headers as multiple headers of the same name