(bug 62381) Chunked ID query for JSON dumper.

When listing entities, don't list all IDs in one huge result set.

Change-Id: I842b1ef3dcc07ff437112b86aab5a5a0e64198d5
Merge "(bug 62381) Chunked ID query for JSON dumper."