WIP 7227 Move away from db to save key value pairs

https://swrvedev.jira.com/browse/SWRVE-7227