Bash Loop Over Json Array Syntax In Python