Add overload to QueriesResource::runQuery()