since it is an array, I would advice to use a standard for() loop, not a for…in loop. anyways, there are also array methods to do the same.
PHP Code:
var a = [{"name":"hpfa","addressLine1":"", ... ];
var names = a.map(function(item) {
return item.name;
});