Minimalistic JSON-based persistence layer