Use the 'key' in contenttypes.yml as slug, if not specifically set. Working on #1071