             [cheshire.parse :as parse]
             [clojure.java.io :as io]
             [clojure.set :as set]
-            [puppetlabs.puppetdb.time :as time]))
+            [puppetlabs.puppetdb.time :as time])
+  (:import
+   [com.fasterxml.jackson.core JsonGenerator]
+   [com.fasterxml.jackson.core.io CharacterEscapes SerializedString]
+   [java.io ByteArrayInputStream Writer]
+   [org.postgresql.jdbc PgArray]
+   [org.postgresql.util PGobject]))
 
 (defrecord RawJsonString [data])
 

(defn add-common-json-encoders!*
  "Non-memoize version of add-common-json-encoders!"
  []
  (add-encoder
    org.postgresql.util.PGobject
    (fn [^PGobject data ^JsonGenerator jsonGenerator]


   This namespace when 'required' will also setup some common JSON encoders
   globally, so you can avoid doing this for each call."
  (:require [cheshire.core :as core]
            [cheshire.factory :as factory]
            [cheshire.generate :as generate
