The simplest possible approach to provide autocompletion data is passing an array of suggestions.