Projects - cleanup strings so they are compatible with JSON.parse.