Subform with webhooks

Subform with webhooks

I have setup a subform so that in the webhook integration I can post those fields as a sub-element in the JSON payload.

However, even if I only allow a single entry in the subform, Zoho always posts the subform as an array, but the webhook I am posting to needs it as a single object.

Is there any way to change this behavior?

For example, Instead of this format:
  1. {
        "source" : "<SingleLine3>",
        "mainContact" : [
            {
                "firstName" : "<Name1.First>",
                "lastName" : "<Name1.Last>",
                "email" : "<Email1>",
                "phoneNumber" : "<PhoneNumber1>"
            }]
    }


I need this format:
  1. {
        "source" : "<SingleLine3>",
        "mainContact" : {
                "firstName" : "<Name1.First>",
                "lastName" : "<Name1.Last>",
                "email" : "<Email1>",
                "phoneNumber" : "<PhoneNumber1>"
            }
    }

Notice that mainContact needs to be an object {} and not an array [{}]