}
protected String getSerializedString() throws IOException {
ByteArrayOutputStream bout = new ByteArrayOutputStream();
AnalyzedTextSerializer serializer = AnalyzedTextSerializer.getDefaultInstance();
serializer.serialize(at, bout, null);
byte[] data = bout.toByteArray();
return new String(data,Charset.forName("UTF-8"));
}