Corrected how I was trying to interact with the JSON data