Add write(const char *) method to JsonOut.
Fix JsonOut utf-8 string output.