Fix bugs in Reference toString() and BibReader read() methods