The current implementation is a bash script that embeds a jq program that outs a bats script. Particularly, the jq code is pretty terrible spaghetti. See #196