prevent JAXBException in OSGI bundles