[SPARK-3518] Remove wasted statement in JsonProtocol

Why not just remove the unused `accumUpdateMap` instead and preserve the symmetry? This is a simple getter, which would be inlined anyway. This also seems very trivial.