add_jags function can now take a single object (simply returns it)