How to use Map function in this instance

What do you need as output from tags assuming tags is an object?

This object mapping technique is gold. But it’s only used to extract an array of specific items from an object.