Preparation for a MongoDB storage