Accomodating changes to the JSON format within the parsing code. This code will be moved to the helper function once testing is complete.