An array of JS objects with a single attribute is a pretty unusual interface.  If you could add a comment here explaining why this data structure is the way it is (eg. "historical reasons", or "intent to include more attributes", or whatever), as well as what things are likely to effect the future direction, I suspect that'd save us trouble down the road.