chop line to kepp \r\n out of json