     (->> matches
          (group-by second)
          (map (fn [[prod matching-listings]]
-                {:product_name (:product_name prod)
+                {:product_name (:formatted-name prod)
                  :listings (map first matching-listings)})))))
 
 


(defn prepare-product [product]
  (-> product
      (update :product_name normalize-str)
      (update :model normalize-str)))


(def conf
  {:products-uri "resources/data/products.txt"
   :listings-uri "resources/data/listings.txt"
   :out-uri      "results.txt"})

; Product :: {:product_name str
;             :manufacturer str
