Implement persistence mechanism for resources
Rdsys's backend currently does not write anything to disk. Let's implement a persistence mechanism that allows rdsys to write its resources to disk so that they can persist across restarts. I suggest starting with a simple serialisation format like Golang's gob. Bridgestrap does something similar.