Yes, this looks much better. `xml_to_hash`  wasn't really designed; it grew...