Only parse string if it is a string.