Search through a JSON object for keys that exists in a collection or collect specific keys to group in a new collection.