Switched vector<Pair<QString> > code over to map<QString, QString>