GravifonClient: timestamps are written to JSON correctly with multi-byte system encodings.