Added Json codecs on Events.