get_target_text_from_resamples function

Gets the target variable as text from unnested resamples