fix build_query_params_from_docstring