add option to storage#keys to include last value
add option for fetching keys with last values in agent