Change file encoding to utf-8.
Escape json string.