Parse the JSON data into data structures