Add function which converts svgJSON to svgXML