Nedb made more awesome with generators