added the get function to grab the contents of the JSON files