class AddressesXmlAdapter extends XmlAdapter<ClientAddressesListWrapper, List<String>> {

    @Override
    public List<String> unmarshal(ClientAddressesListWrapper v) throws Exception {
        return v != null ? v.getAddresses() : null;
    }

}