fix #9
fix #5 修复空对象判断的问题
fix #6 修改fire事件的this指针
Support recursive serializztion of param