change to python to be able to read json
remove the bash JSON reader again, it cannot handle the more complex JSON structure we need