Added json downloader code