class ActiveSupport::XMLConverter
def process_array(value)
def process_array(value) value.map! { |i| deep_to_h(i) } value.length > 1 ? value : value.first end
def process_array(value) value.map! { |i| deep_to_h(i) } value.length > 1 ? value : value.first end