Remove \n and replace back double quotes with single quotes