Regarding a kvs store, we do have something like that used internally within the system, but wouldn’t recommend extending that. Instead i would recommend using a resource to write in / out of as well - maybe some sort of simple cloud kv store that you could use for retrieval