Added thread status to json api