Migration to NeDB storage