Use xstream and its annotation.