More querydict nonsense

We use `qd_to_py_dict` in more places. Let's just get rid of it.