a bit more work on json output for chisels