Keep a sampler's std and uuid format across a save and reopen (#9225)