Example of calling Clojure from Java to transform XML to a Map then to JSON
If I was to do this on a project I'd write the adapter (Transform.java) and Clojure code separately and package it up in a jar rather than invoking the dependencies within Transform.java