Trim kvp data