@Test
public void testEmpty() throws Exception {

	StringWriter result = new StringWriter();
	XMLStreamWriter writer = createXmlStreamWriter(result);
	writer.writeStartDocument();
	writer.writeStartElement("alice");
	writer.writeEndElement();
	writer.writeEndDocument();
	writer.close();
	Assert.assertEquals("{\"alice\":null}", result.toString());
}