var lookup = {},
	result = [];

JSON.parse(value).forEach(function (item) {
	var name = item.labels.name;
	if (!(lookup[name])) {
		lookup[name] = 1;
		result.push({ '{#NAME}': name });
	}
});
return JSON.stringify(result);