fix string serialization, general configuration cleanup