Looking at the Above XML Structure I am trying to achieve 2 things.
1. Want to replace the <list> tag to <scripts>
2. Want to place an root tag to all the states like
Here is my XStream Annotated POJO class[ note that the same class is annotated for Hibernate Activity]