Fix up regex.

Correct UTF-8 handling for JSON module.