You are already calling `map` on this match, which will generate an array. I _think_ this can be simplified to:

```ruby
REXML::XPath.match(config, xpath).map do |r|
  hash = {}
  r.each_element_with_text do |l|
    hash[l.name] = l.get_text
  end

  from_hash(hash, options)
end
```