issue #252 beautify XML from producer