             self.dict[JBX_KEY_CODE] = self.code
         }
     }
-    public var data: [String: AnyObject]? {
+    public var data: AnyObject? {
         didSet {
             self.dict[JBX_KEY_DATA] = self.data
         }

        let eventName = message.eventName
        var callbackBlock: EventCallback?
        if callbackId != nil {
            callbackBlock = { [weak self] (code: Int, data: [String: AnyObject]?) in
                if let weakSelf = self {
                    weakSelf.callback(code, callbackId: callbackId!, data: data)
                }
            }
        }
        if let eventName = eventName {

            self.method = method
            self.eventName = rawDict[JBX_KEY_EVENT_NAME] as? String
            self.code = rawDict[JBX_KEY_CODE] as? Int
            self.data = rawDict[JBX_KEY_DATA]
            self.callbackId = rawDict[JBX_KEY_CALLBACK_ID] as? String
            dict = rawDict
            return
