data is a list, not a dict