Quickly filter an object by keys
Use var myKeys = Object.keys(myObject) to get the keys.
Check if a myString exist in the array myKeys using native

var matchingKey = myKeys.indexOf(myString) !== -1


Processing an array? Use this:

var matchingKeys = myKeys.filter(function(key){ return key.indexOf(myString) !== -1 });

Get the value using myObject[matchingKey].

Processing an array? Use this:

var matchingValues = matchingKeys .map(function(key){ return myObject[key] });

No need to check array-boundaries or sizes. It's 100% boundary-safe.