Persist some keys and values