JSON processing issue

hmm, recently we had a report that quote was serialized wrongly:

so code was changed for fixing this bug.