Component for turning an svg node into a data-uri