Fix JSON overflow problem.