Changing map to vector for preserve insertion order

Controllers use InstanceId of the Entities as key instead of name,
Entities names can be empty