added ability to set objects

This way you can easily save `settings` objects into the store.