Fixed bug with thread watcher and return to JSON

donwloader #25