module MultiXml
def symbolize_keys(params)
def symbolize_keys(params) case params when Hash params.inject({}) do |result, (key, value)| result.merge(key.to_sym => symbolize_keys(value)) end when Array params.map{|value| symbolize_keys(value)} else params end end