ObjectID.str provided in version 1.x the ObjectID.toString() value. While still mentioned in the version 2.x readme it returns undefined.