added iterator for dict structure