Bash Loop Over Json Python