move QueryDict handling to urlencode_plus