added a workaround to prettify the SVG output with etree