Custom jaxb binding to make API easier to work with