I get following error when executing the script jq: error (at <stdin>:0): null (null) cannot be matched, as it is not a string