The vw-van.pbrt test scene contains those keywords and we have to handle them in the parser:
$ rg ObjectBegin | head -n 1
vw-van.pbrt: ObjectBegin "Null.60"
$ rg ObjectEnd | head -n 1
vw-van.pbrt:ObjectEnd
$ rg ObjectInstance | head -n 1
vw-van.pbrt: ObjectInstance "Null.60"