moved clojure data converter and json converter functions out of core