JAXB parsing refactored for protobuf client