Resume support for array JSON generation
Enable JSON generate for codegened arrays and structs
Rearrange struct_gen_sm to make adding support for non-extras easier