add xjson to main module