jsonconf refactor