Cast values to more specific types with default values if they can't be casted