This works without a root element annotation - apparently you need to go through a typed JAXBElement<> object first if it's not a root element