Persist Mio models to localStorage.