Use QVariantMap instead of QMap<QString, QVariant>