Turns an xml document into a clojure map. Converts strings to their types (if it is a well known type).