iterating over json articles in index