List<String> labels = creepyGeoRegionGroup.label.get(type.toLowerCase() + "_label");
for (int i = 0; i < entry.getValue().size(); i++) {
Builder elementBuilder = Value.builder().rdata(entry.getValue().get(i));
// chance of index out of bounds
if (i < labels.size())
elementBuilder.label(labels.get(i));
if (i < weights.size())
elementBuilder.weight(weights.get(i));
rset.add(elementBuilder.build());
}
rsets.add(rset.build());