KAZOO-1203: use the helper function rather then calling send_cmd directly, and fix validator function