 
                 ;; POST to URL a JSON block
                 (let [response
-                      @(post-resource (format "http://%s:%d%s" host port measurements-uri)
+                      (post-resource (format "http://%s:%d%s" host port measurements-uri)
                                       "application/json"
                                       (jsonify {:measurements
                                                 (map


                ;; POST to URL a JSON block
                (let [response
                      @(post-resource (format "http://%s:%d%s" host port measurements-uri)
                                      "application/json"
                                      (jsonify {:measurements
                                                (map

                                     "application/json"
                                     (jsonify {:measurements
                                               (map
                                                (fn [x] (update-in x [:timestamp] #(tf/unparse custom-formatter  (clj-time.coerce/from-date %))))
                                                (mapcat generators/measurements sensors))}))]
                  )

