removed all usages of lists in the modelparser as this is not good

this will work even if equals(...) and hashcode(...) are left with the
original implementation because the sets will then behave as the
original List implementation.