Add xml to java convert support