Added json api
Disabled json api by default
Release 0.2.0