following from  http://internistic.blogspot.ca/2012/11/building-clojure-rest-service-part-one.html