       (log-str "API call to " (fn->sym function))
       (if (:body api-result)
         api-result
-        (data-response api-result {:type :json})))))
+        (data-response api-result)))))

               "/create-project"              projects/create-project
               "/publish-project"             projects/publish-project
               "/update-project"              projects/update-project
               ;; Plot API
               "/get-next-plot"      plots/get-next-plot
               "/get-plot-by-id"     plots/get-plot-by-id
               "/get-prev-plot"      plots/get-prev-plot

               "/request-institution-membership" users/request-institution-membership
               "/send-to-mailing-list"           users/submit-email-for-mailing-list ; TODO conform route and fn
               "/unsubscribe-mailing-list"       users/unsubscribe-from-mailing-list ; TODO conform route and fn
               ;; Projects API
               "/dump-project-aggregate-data" projects/dump-project-aggregate-data
               "/dump-project-raw-data"       projects/dump-project-raw-data
               "/get-all-projects"            projects/get-all-projects
