Migration tool ERROR: TypeError: role.name is undefined