Replacing knowledge of Entity's structure

Instead of assuming entity.work_type exists, instead rely on
TranslationKeyFragment() to handle that knowledge. In reality,
WorkType implements #to_translation_key_fragment, so we go with that.