EJSON type for events and small changes