bson: esacpe code type.

We probably need to add something more for Code types if we want to
actually round trip these fields. Currently we do not.