HH-34135 add escaping of illegal xml symbols

workaround of https://java.net/jira/browse/JAXB-614