XmlValidator.validate() always returns a dictionary. Fixes #16