Fix #2532594. Save objectified data to config if initially a string.

mention @ericf