filters.forEach(function(obj, index){ console.log(index); for (var key in obj){ console.log(key, obj[key]); } });