move storage object decryption into sync and clean up the object data type