You can use the “Loop” tag (View > Set Loop Section) for this:
And then exporting to json including the Frame Tag data.