Fixed toJson issue, added revive
0.0.2