switched to sending event back as json