core: Replace QList by std::vector in the storage API