Example code from presentation: http://www.slideshare.net/danveloper/practical-rest-in-grails-23