fix stream BSON::ObjectID type problems