Replaced binary serialization of regions with text serialization.