Remove commented out code
Prepare json event data