render success/fails as JSON objects on some API.
fix getEventInfo JSON
check return value for addEvent
Fix response success/fails