Support json.
Modify output layout
Modify test
Fix a bug
v0.4.0