JSON parser: Fix a bug in expectJsonStringAscii(context, buffer, maxLength).