Use alternative JSON printing in angular.