Force values to string or int