refactor json_init
Merge branch 'master' of github.com:sboily/xivo-unified-modules