spring url mapping and object to XML