[WIP]collect aws cloudformation templates and stacks at Amazon refreshing

When I stored an array to ```@data_index``` I inserted a 1-based sequence number for each element. Here I need to retrieve the data for each element using the 0-based index, so I offset the index by 1.