A helper class parsing XML record file into a Java object with JAXB