Bug fix for leading-comma formatting

It turns out I had missed testing this with nested JSON arrays – pardon the slip. :-]