MAINT: update code for bibtexparser=0.3