bson.go
func (id *ObjectId) MarshalText() ([]byte, error) {
	return []byte(bson.ObjectId(*id).Hex()), nil
}
func (id *ObjectId) MarshalText() ([]byte, error) {
	return []byte(bson.ObjectId(*id).Hex()), nil
}
func ( id * ObjectId ) MarshalText ( ) ( [ ] byte , error ) { return [ ] byte ( bson . ObjectId ( * id ) . Hex ( ) ) , nil }
// MarshalText turns this instance into text
MarshalText turns this instance into text