cplugin: fix escaping of QVariantMap