Registering bson.M and bson.D with gob.Register()