Python3 changes for MultiDict