Add deployment descriptor for JBoss AS / WildFly
Produce XML or JSON