                                        params))
         form-params (apply dissoc params (keys query-params))]
     (merge
-      {:debug true
-       :debug-body true
-       :method method
+      { :method method
        :url url
        :oauth-token t
        :content-type (if (:image form-params)


(def defined-query-params [:fields :ids :limit :offset :market :position :state :position_ms :volume_percent :device_id :locale :country :timestamp :type]) 

(defn json-string-to-map
  "Read string and transform into json"
  [s]

      ([m t]
       (response-to-map
         (try
           (client/request (api-request method endpoint merged-query-params m t))
           (catch Exception e (ex-data e))))))))

