Bash Loop Through Json In Typescript