the kv arg is a preformatted string like "{key}\t{value}"