migration to immutable, ref-style string