Object UIDs will be different when you switch to another layout. That's why you can't read the keys back.
If you only need to save values for one player, don't add UID to the dictionary key names.
If you need to save a set of keys for multiple characters, use some other identifier which you can control, for example an instance variable "ID".