             [cmr.umm-spec.xml-to-umm-mappings.serf :as utx]
             [cmr.umm-spec.util :refer [without-default-value-of not-provided]]
             [clojure.set :as set]
+            [cmr.common.util :as util]
+            [clojure.string :as str]
             [clojure.string :as str]))
 
 (def serf-xml-namespaces

  "Creates a SERF IDN_Node element from a UMM-S AdditionalAttributes mapping"
  [s]
  (for [idn-node (filter #(= "IDN_Node" (:Name %)) (:AdditionalAttributes s))
           :let [[:node-short-name :node-long-name] (str/split (:Value idn-node) #"\|")]]
       [:IDN_Node [:Short_Name node-short-name]
        [:Long_Name node-long-name]]))

(def inserted-metadata
  "Inserted Metadata by CMR to account for missing fields"
  #{"Metadata_Name" "Metadata_Version" "IDN_Node"})
(comment 
  (println (umm-s-to-serf-xml cmr.umm-spec.test.expected-conversion/example-service-record))
  )
(defn umm-s-to-serf-xml
  "Returns SERF XML structure from UMM collection record s."
  [s]

     [:Distribution_Size (:DistributionSize distribution)]
     [:Distribution_Format (:DistributionFormat distribution)]
     [:Fees (:Fees distribution)]]))

(defn- create-related-urls
  "Creates a SERF Related URL element from a UMM-S Document"
  [s]
