Correcting keyvalues

The keyvalues are not written as JSON. They need to be
"key1=value1;key2=value2", for example