Fix a bug in handling json data in game ctrl.