stringify the value of selection to preserve types

review8681002