C++ objects which represent and serialize to/from svg