Utils for translation between "xml" and "dict" formats