The intent was to only allow lists and sets as the behavior for serializing dictionaries is (in my mind) undefined. Your (offline) point about also allowing tuples is a good one, and I will change the code to allow tuples.