Utility to convert between tree-like structure QVariantMap of QT library and TinyXMLElement