add serializing to KVG and rendering to SVG