Fix Config Serialize not returning valid string result