Accessing Previously Declared Key / Value Pairs To Populate A "JSON Array"

Hello again - I’ve got another “stumper”…

There is a history key (JSON Array type) in the object that I’m trying to mock which holds two objects. These two objects hold data that is previously found in the object I’m mocking - a createdAction object and a modifiedAction object. I’ve created a basic demo of what I’m trying to accomplish (linked below):

https://www.mockaroo.com/schemas/594938

As you can see, while I’m able to get the fields in their appropriate order I’m not able to actually display the fields. Ideally, the finished product would look like this:

{
  "createdAction": {
    "actionType": "CREATED",
    "datetime": "2023-02-09T09:42:48Z"
  },
  "modifiedAction": {
    "actionType": "DISCONTINUED",
    "datetime": "2023-02-16T01:07:18Z"
  },
  "history": [
    {
      "actionType": "DISCONTINUED",
      "datetime": "2023-02-09T09:42:48Z"
    },
    {
      "actionType": "CREATED",
      "datetime": "2023-02-09T09:42:48Z"
    }
  ]
}

…and not like what it presently looks like (which is this):

{
  "createdAction": {
    "actionType": "CREATED",
    "datetime": "2023-02-09T09:42:48Z"
  },
  "modifiedAction": {
    "actionType": "DISCONTINUED",
    "datetime": "2023-02-16T01:07:18Z"
  },
  "history": [
    {
      "actionType": "{modifiedAction.actionType}",
      "datetime": "{modifiedAction.datetime}"
    },
    {
      "actionType": "{createdAction.actionType}",
      "datetime": "{createdAction.datetime}"
    }
  ]
}

Any insight you can offer on how to resolve this would be much appreciated!