Use a map from string to anim spec instead of a list.
remove name from animation spec