refactoring PGObjectTokenizer