Attempting to fix carriage return problem in json