This code was written to validate a very simple map of the structure of {:body {:grepString "grepp" :date "2014-05-03" :environment "nightly"}
This snippet is not idiomatic clojure.
(defn validate-request [req]
(let [json-vals (:body req)
grepStr (:grepString json-vals)
date (:date json-vals)
env (:environment json-vals)