Added error handling for JSON decode