A tiny extension to stock bootstrap-typeahead plugin to make it play nicely with something more complex than ordinary strings.