Entity roles mapping to slots in Rasa 2.x

Hi all!

We are using Rasa 2.x and I would like to map entities with different roles to different slots. I see how it is done in 3.x, but as I understand these mappings are a new feature and this has to be done differently in 2.x. Is there a way to generally map an entity with a role to a slot? Possibly with a different name?

What I would like to achieve for example is that I have an entity something, with roles A and B, and those should be mapped to slots something_A and something_B respectively. Or to an arbitrary name.

Thanks in advance!