loading autocomplete data from json file doesnt work, but loading from array works fine