Bugfix for rendering service URI in XML