beefing up the clojure json fact writer