Read from data.json with global var