marshalled and unmarshelled string IO as json strings.