Solution to ETL in Clojure