search: Typeahead data format generation at server