         servers (into {} (for [[k v] servers]
                            [k (assoc v :html (build-server-popover v))]))]
     (reset! cached {:updated-at now
-                    :regions new-regions
-                    :servers servers
-                    :tables  (group-by-tables new-regions)})))
+                    :regions    new-regions
+                    :servers    servers
+                    :tables     (group-by-tables new-regions)
+                    :response   {}})))
 
 (defn start-periodic-updater!
   "Starts a thread that periodically runs update-regions!"

(defonce with-system? (atom true))

;;; Cache the result of previous inspection
(defonce cached (atom {:updated-at nil :regions []}))

;;; Inspection interval
(defonce update-interval (atom 10))

(ns hbase-region-inspector.core
  (:require [clojure.string :as str]
            [clojure.java.io :as io]
            [cheshire.core :as json]
            [ring.adapter.jetty :refer [run-jetty]]
            [ring.util.response :refer [response content-type resource-response]]
            [ring.middleware.defaults :refer [wrap-defaults api-defaults site-defaults]]
            [ring.middleware.gzip :refer [wrap-gzip]]
            [compojure.core :refer [defroutes GET PUT routes wrap-routes]]
            [compojure.route :as route]
