I am using jquery autocomplete to fetch data from the database. Once I get the data I map through it to format it the way I want. But I keep getting an error that the map is