I'd love a better way also. Note how ``from_xml`` deals with single vs multiple elements below. Ideas?
```
irb(main):005:0> Hash.from_xml('<collection><element foo="bar"/></collection>')['collection']['element']
=> {"foo"=>"bar"}
irb(main):006:0> Hash.from_xml('<collection><element foo="bar"/><element foo="baz"/></collection>')['collection']['element']
=> [{"foo"=>"bar"}, {"foo"=>"baz"}]
```