Bash Script Json Parsing Python