Bash Script Curl Output Json Formatter