events json working