persistent objects in MongoDB