Enable other value types than strings in CheckboxChoiceTemplate

if cstruct is a list of integers no checkbox was checked.