Optimize JSON escaping of ASCII strings