a list that optionally also looks like a dictionary and attributes