I only recently discovered the power of underscore.js, still new to the methods I kindly ask for a suggestion:
How do I get from this:
[ [{
_.uniq(_.pluck(_.flatten(items), "name"))
Fiddle