Unable to replace Windows new line characters and tabs when using to_json

View thread