allow dicts in add_query_params()