Adds rescue to JSON file formatter