             [cmr.system-int-test.utils.url-helper :as url]
             [clojure.data.xml :as x]
             [cmr.common.xml :as cx]
-            [clojure.string :as str]))
+            [clojure.string :as str]
+            [camel-snake-kebab :as csk]))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Parsing the ATOM results

                beginning-date-time ending-date-time day-night cloud-cover]} granule
        related-urls (add-collection-links coll related-urls)
        dataset-id (get-in granule [:collection-ref :entry-title])
        update-time (get-in granule [:data-provider-timestamps :update-time])]
    {:id concept-id
     :title granule-ur
     :dataset-id dataset-id
     :producer-granule-id producer-gran-id
     :updated (str update-time)
     :size (str size)
     ;; TODO original-format will be changed to ECHO10 later once the metadata-db format is updated to ECHO10
     :original-format "application/echo10+xml"

   :browse-flag (cx/string-at-path entry-elem [:browseFlag])
   :day-night-flag (cx/string-at-path entry-elem [:dayNightFlag])
   :cloud-cover (cx/string-at-path entry-elem [:cloudCover])
   :coordinate-system (cx/string-at-path entry-elem [:coordinateSystem])
   :shapes (seq (xml-elem->shapes entry-elem))})

(def parsed (atom nil))
