Add a "loop" option in frame tags?

You can use the “Loop” tag (View > Set Loop Section) for this:

set-loop-section

And then exporting to json including the Frame Tag data.