jq select value from array
Found the answer:
cat <file>.json | jq -r '.files[] | select(.fileName=="FOO") | .md5'
to answer the more generic how to select value from array selecting all filenames:
cat results.json | jq '.files[] | .filename'
or:
cat <file>.json | jq -r '.files[] | select(.fileName=="FOO").md5'