IntegerVariable v = IntegerVariable.parse(m);
Variable<?> p = v;
System.out.println(gson.toJson(p));
Solution s = new Solution();
s.add(p);
System.out.println(gson.toJson(s));
XStream xstream = new XStream(new DomDriver());
String xml = xstream.toXML(s);
System.out.println(xml);
Solution s2 = (Solution) xstream.fromXML(xml);
System.out.println(xstream.toXML(s2));
}