XStream xstream = new XStream(rp, amapper, driver);
amapper.addAttributeFor(AtomAttribute.class);
for (Converter converter : getConverters(fmapper, c)) {
xstream.registerConverter(converter);
}
xstream.registerConverter(new ISO8601DateConverter());
xstream.registerConverter(new ISO8601GregorianCalendarConverter());
xstream.registerConverter(new ISO8601SqlTimestampConverter());
xstream.registerConverter(new GuiceBeanConverter(fmapper, injector));
xstream.registerConverter(new AtomAttributeConverter());
xstream.setMode(XStream.NO_REFERENCES);