simple Rest iterator