helper module to retrieve data from pdf2json