To save lua table to blueprint an invisible programmable speaker entity can be used.
Just place it over compact combinator so it's always blueprinted together with it. Or just use it as base entity.
It has alarm text.
Using serpent.line a lua table is turned into text and saved into alarm text.
When entity is built read programmable speakers alarm text back to your mods data.
It's counter intuitive I know, but it works.
Don't be misguided that alarm message is short. I've tested it with 1000000 chars string. It saved and loaded happily. I use this trick in some of my mods.