scripts: escape semicolon when serializing and parsing array

7 jobs for escape-lua-fix in 4 minutes and 59 seconds
Status Name Job ID Coverage
  Container
passed container_fedora #15313279

00:02:39

passed container_ubuntu #15313280

00:00:19

 
  Build
passed build_on_fedora_no_docs #15313282

00:01:28

passed build_on_fedora_with_docs #15313281

00:01:37

passed build_on_ubuntu_no_gir #15313284

00:00:30

passed build_on_ubuntu_with_gir #15313283

00:01:04

 
  Analysis
passed shellcheck #15313285

00:00:42