add default codecregistry to mongo