langdb: support writing dictionary entries