complete json serializer
Merge pull request #1 from maoziliang/master

complete json serializer