added json_to_bibtex function