use annotation to create a JSON outline of your struts2 REST api