Accept dict as Fault.detail value in XmlDocument. Fixes #368