Fix issue that compare with json object not mcc.

Fix issue that compare with json object not mcc.