Fix bookmark merging to work with latest pypdf2