                   :version :v4}]
     (try
       (swap! dispatch/metrics svc-utils/clear-counters!)
-      {:app (tkbs/parse-and-bootstrap bootstrap-config-file
-                                      {:config tmp-puppetdb-conf})
+      {:app (tu/without-jmx
+             (tkbs/parse-and-bootstrap bootstrap-config-file
+                                       {:config tmp-puppetdb-conf}))
        :base-url base-url}
 
       (catch java.net.BindException e


    (fs/create puppetdb-conf)
    (ks/spit-ini puppetdb-conf
                 {:main {:server_urls (str "https://" (:hostname pdb-info) ":" (:port pdb-info))}})

    (let [services (tk-bootstrap/parse-bootstrap-config! dev-bootstrap-file)
          tmp-conf (ks/temp-file "puppetserver" ".conf")

                          :port port
                          :query-base-url (assoc base-url :prefix "/pdb/query" :version :v4)
                          :command-base-url (assoc base-url :prefix "/pdb/cmd" :version :v1)
                          :admin-base-url (assoc base-url :prefix "/pdb/admin" :version :v1)
                          :app app}
                         app)))

(defn pql-query [pdb-server query]
