runner looks for last json line in output, corrected director's matching alg.