renamed check_jags_code as jg_chk
now collapses character vectors
into string with '\n'
pass_brackets now preserves names but not \n - fix