SaveGame: Storing TinyDB values with DataFile

How would I store the values of all component states in my app every time the Save button is clicked in order to have several loadable save games?

This sample uses multi-part tags ...