JQ: Changed return statement to exit statement because my version of bash complained.