I have an object that looks like this:
tagCount = {key1: val1, key2: val2...keyn:valn}
And an array that looks like this:
keys = ['key1', 'key3', 'key5'];
I want to get an object (or an array I guess) from tagCount with only the fields that match keys:
foo - {key1: val1, key3: val3, key5: val5}
I use Underscore so I feel like this is possible but for the life of me I cannot figure out the magic to make it happen.