in reply to accessing data in hash

As a side note to the other answers you received, there may be very good reasons elsewhere in your code to use a hash of arrays of hashes, but for what you are trying to do here, it would seem better to use a hash of hashes of hashes (because you would not need to scan the full inner array to find the required information but could access immediately to the relevant piece of data). Or possibly using a simpler data structure such as a hash of hashes (or perhaps even a simple hash).

This assumes that the IDs are unique, but, given the context, I tend to think it must be the case, since it would probably not make much sense to have the same ID being both "Stopped" and "Started".