Takes in values and outputs objects with that value under a given property