fn try_convert_to_expected_type<T>( value: T, expected_type: &ConcreteDataType, ) -> Result<Value, Error>where T: Into<Value>,
Helper function to try converting a value to an expected type