@JsonIgnore
    private static List<DocRef> buildDocRefs(final InternalStatisticKey internalStatisticKey,
                                             final Map<String, String> storeTypeToUuidMap) {
        return storeTypeToUuidMap.entrySet()
                .stream()
                .map(entry -> {
                    final String type = entry.getKey();
                    final String uuid = entry.getValue();
                    return new DocRef(type, uuid, internalStatisticKey.getKeyName());
                })
                .sorted(Comparator.comparing(DocRef::getType)) // sort so yaml is consistent
                .collect(Collectors.toList());
    }
Create a list of {@link DocRef} objects that are associated with a single {@link InternalStatisticKey}
stroom-statistics/stroom-statistics-impl/src/main/java/stroom/statistics/impl/InternalStatisticsConfig.java