!reference tags in jsonnet

Hi all,
Has anybody been able to utilize yaml tags within compiled jsonnet gitlab-ci? I’m doing something like this in jsonnet:

      script: [
        '!reference [".git:config", script]',
        // install the collection and dependencies
        'ansible-galaxy install -r ' + ansible_requirements
      ],

which is generating this code

      "script": [
         "!reference [\".git:config\", script]",
         "ansible-galaxy install -r ansible/requirements.yml"
      ],

and so the !reference tag is being treated as a string and not actually doing the reference behavior. Can anybody suggest the “correct” strategy or a workaround? Thanks!