Send null for empty attribute strings.