Getting request body array variable in mock's dynamic response

The request body has an array variable in POST request. I want to make dynamic response for my mock server. Could you please help me as I want to pick the names from input request dynamically.

Input request:

{
  "names": ["Jon","Jacob","Ria"]
}

Mock response example set as:

[
    {
        "name": "Jacob",
        "Bank": "{{$randomBankAccount}}",
        "City" : "{{$randomCity}}",
        "Country" : "{{$randomCountry}}
    },
    {
        "name": "Jon",
        "Bank": "{{$randomBankAccount}}",
        "City" : "{{$randomCity}}",
        "Country" : "{{$randomCountry}}
    },
    {
        "name": "Ria",
        "Bank": "{{$randomBankAccount}}",
        "City" : "{{$randomCity}}",
        "Country" : "{{$randomCountry}}
    },
]

Sorry we didn’t get to this sooner. This isn’t the experience we want for our users.

We’re closing out older posts to help keep the community organized and relevant. If this issue is still affecting you, please start a new topic with any updated details and we’ll be happy to help.