DEV-49939 - Serialize and deserialize text configurations