jQuery Autocomplete, how do I populate the dropdown list?

jQuery Autocomplete, how do I populate the dropdown list?

Okay, for the life of me, I can't figure out how to populate the drop-down list with {logo}{name} using the response I'm getting: -
$("#jobCompanyName").autocomplete({
source: function(request,response) {
$.getJSON("https://autocomplete.clearbit.com/v1/companies/suggest?query=" + request.term, function(data) {
response(data);
})
},
minLength: 2,
dataType: 'json',
autoFocus: true,
select: function(event, ui) {
var selectedObj = ui.content["0"].name;
}
});

If I print the contents of 'ui', I get my JSON object correctly. I however do not know how do I populate my list with the data which contains name, logo (url) and domain name. I'd want to show only logo and name in my drop-down list. 

Would really appreciate your help. Thanks!