Use of collections.UserDict for dict-like data types