filter through hash keys