extended nedb to support schema defaults