Simpliy the bson code by override different fields