Strip commas from the JSON.stringify output before diffing
Add tests for #1182 (close #1182)