getDictionaryEntries function

Lookup entries in a dictionary