A list instance should have been dict instead.