Added error reporting for data JSON files