Make output format R compatible.