Fix json dumping for structure due to unicode.