Added functions to deal with jags_run output format.