code: public static XStream createChartTemplateXStream() {
          XStream xstream = new XStream(new DomDriver("UTF-8"));
          xstream.setMode(XStream.NO_REFERENCES);
          xstream.registerConverter(new FontConverter());
          
          xstream.alias("chart-template", ChartTemplate.class);
          xstream.useAttributeFor(ChartTemplate.class, "version");
          xstream.alias("color", Color.class);
          
          return xstream;
      }
docs: Create XStream for chart template load/save.
  
  @return XStream