fix for Event FromJson method.