fix jsonise

this fixes strings with quotes, f.e. a = 'foo"bar'