Replace carriage returns in JSON (as well as newlines)