var lookup = {},
	result = [];

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