List<ServiceEndPoint> endPoints = Lists.newArrayListWithCapacity(_endPoints.size());
for (Map.Entry<String, Payload> entry : _endPoints.entrySet()) {
String id = entry.getKey();
Payload payload = entry.getValue();
endPoints.add(new ServiceEndPointBuilder()
.withServiceName(serviceName)
.withId(id)
.withPayload(serialize(serviceName, id, payload))
.build());
}