switch to snapshot & make JsonArray iterable