converting from nstore to nedb.