jsonconf refactor
server config refactor