encode

Encodes validated settings into the versioned app-private persistence representation.