Iterate through all keys to build specs