resgen: add --json option.
resgen: add --json option.

This option embeds a small JSON string inside the resgen blob that lists
all materials and their respective sizes. This is useful when analyzing
the footprint of the binary executable.

google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament,google/filament