Upgrades for storing/restoring queues in mongoDB