expand function bib2json by adding an additional list to errors which saves the defective bib entry