changing searchModel.languageTrees to searchModel.results.languageTrees