Can you please modify the load() function so that it validates the JSON in case there are any issues with the JSON formatting? I want the script to continue to execute even in the event of an invalid JSON file.