Coerce values into their appropriate types based on the field definitions