I have a map in my java sevlet and converting it to a json format that works right.
When I do this function below it creates a drop down, but it puts every character
$(JSON.parse(response)).map(function () { return $('').val(this.value).text(this.label); }).appendTo('#selectorId');