test_json.m: removed --strip-trailing-cr again, since that is not a Posix command line option, replaced with sed, using Posix only syntax