convert bib to json from processing