Jq Cannot Index Array With String. $ cat myfile | jq -r '. [0:1]. foo1 is trying to iterate thro