Export `toQueryArr`.