A simple dsl for writer with xstream