kayos: iterate now outputs json objects.