tests/dictionary: support listing the entries in a parsed dictionary file