moved getfirstjsonfromtemp out of the downloader