Add an emoji type rather than a dictionary

Fixes #348