Fix Json parse problem with multibyte characters

When dealing with multibyte characters, sometimes inappropriate white spaces are inserted.
This PR fixes this.