Also use String.valueOf on name field as some names will be numbers and
will fail to cast.