Revert "Revert "修改JSON/XML输出函数，不使用渲染变量避免混乱""

This reverts commit adbb88e66bd7694489fac97f01c7555363a0d8de.