Testing loop

The earlier change resulted in a blank output. Looks like we need to
split the collection of the instance array into key and value.