Fix "Dumping shard i/n" output from dumpJson

The first shard is 0 thus casts to false which will
suppress the output.

Change-Id: If0da0a398c778443e7d55b468b558c0975bf380a