Changed to JSON encoding to use UTF8