PIM-2241: Make MongoDB support for quick export