Groovy AST transformation to flatten XML when marshalling/unmarshalling with JAXB