add checks for parsing of string fields