      ;; :processable? #(-> %)
      ;;:handle-unprocessable-entity #(get % :errors-map)
      :handle-ok (fn [ctx]
-                  (srv/get-businesses))))
+                  {:meta {}
+                   :data (srv/get-businesses)})))
 
   ;; TODO: Better api handling of violation codes/definitions
   (ANY "/violations" []

    (resource
     :allowed-methods [:get]
     :available-media-types ["application/json"]
     ;; :handle-not-found	(fn [ctx] {:errors "No results found."})
     ;; TODO: malformed when receiving query params
     ;; :handle-malformed (400 BAD REQUEST)
     :handle-ok (fn [ctx] (srv/get-counties))))

  (ANY "/inspections/:id" [id] ;; id = inspections_visit_id
    (resource
     :allowed-methods [:get]
     :available-media-types ["application/json"]
     ;; :processable? inspections/inspections-processable?
     ;; :handle-unprocessable-entity #(get % :errors-map)
     ;; TODO: Not found when inspection id is not found (instead of 200)
     ;; :handle-not-found	(fn [ctx] {:errors "No results found."})
     ;; TODO: malformed when receiving query params
     ;; :handle-malformed (400 BAD REQUEST)
     :handle-ok (fn [ctx] (srv/full-inspection-details id))))

  (ANY "/inspections" []
    (resource

     :available-media-types ["application/json"]
     :processable? inspections/processable?
     :handle-unprocessable-entity inspections/handle-unprocessable
     :handle-ok inspections/handle-ok))

  ;; TODO: Better api handling of businesses
