Returns the key of an object based on its value
the object that contains the key
the key that we want to get
the filtered keys
Returns the key of an object based on its value