Fixed a mistake on except statemeent in json utils.