Added a getKeys method to return corresponding keys for the specified value