dictionary entry to_xml and to_hash restored to fromer module state