class JaxbUtil {

    public static String marshalToStringNoValidation(Object object) {
        return IOCallback.execute(
                () -> {
                    try (OutputStream out = new ByteArrayOutputStream()) {
                        marshalWithNoValidation(object, out);
                        return out.toString();
                    }
                });
    }

    private  JaxbUtil();

}