         target-expression
         (target-timing-fn (babel.generate/generate target-spec target-model))
         source-spec
-        (unify/strip-refs ;; TODO: consider removing strip-refs; not clear if there is any reason why we need to do it.
-         (unify/unify
-          {:synsem {:sem (unify/get-in target-expression [:synsem :sem])}}
+        (u/strip-refs ;; TODO: consider removing strip-refs; not clear if there is any reason why we need to do it.
+         (u/unify
+          {:synsem {:sem (u/get-in target-expression [:synsem :sem])}}
           basic-spec))
 
         ;; TODO: catch possible deref NPE exception that can happen when model is not yet loaded.

(defn read-all [spec language]
  (let [spec (dissoc (unify spec
                            {:synsem {:subcat '()}})
                     :unify/serialized)

        ;; normalize for JSON lookup
        json-input-spec (if (= :top spec)

   [clojure.java.io :as io]
   [clojure.tools.logging :as log]
   [compojure.core :as compojure :refer [GET PUT POST DELETE ANY]]
   [dag_unify.core :as u :refer [dissoc-paths get-in ref? strip-refs unify]]
   [korma.core :as db]
   [ring.util.response :as resp]])

