Add code to handle non-existing JSON data
If JSON data does not exist or cannot be accessed, returns an empty dictionary