bugfix for json serializing, when title involves single quote