Address feedback from Mathias.

- Updates to use a better supported JSON polyfill.
- Fix the regular expression to not lose data on more complex unciode symbols.