escape apos in titles and labels in cts inventory when outputting as json and correctly quote json property labels