update workers to use more reliable json parse and tail