Fixed bug with thread watcher and return to JSON

downloader #25