Python library to urlencode a multidimensional dict