Bash Script Curl Response To Variable Life