How to add other _types to the /etc/fields.yml in beats

Packetbeat uses a different type for each protocol. Have a look at its fields.yml.