restlet wrapper in clojure