Revert "Revert "fixed json config parse error.""

This reverts commit 8f2433c0f6bc10fb54126d56a4a52d9c0a3b9593.