Bash Loop Over Json Array In Python