Fix style generation, cache JAXB context as it's expensive to create