making contexts data source for typeahead work