function to return a clojure structure as geojson