Trying to make railsAutocomplete work with data-element with an array of objects.