default value for digits parameter. Done for David Holstius, but really a problem in other packages that call toJSON() but don't let the caller specify the digits argument