servlet: test for JsonWriter, handle quotes and backslashes