How to customize a specific factory-reset message format

I have a special request.
When I click the reset button of a device in genieacs UI, the device will receive the message like:

<soap-env:Body>
<cwmp:FactoryReset></cwmp:FactoryReset>
</soap-env:Body>

What I want is to receive the message format like this:
<cwmp:FactoryReset>
<resetType>factory-reset</resetType>
</cwmp:FactoryReset>

Any methods to achieve it?

WHY do you want to change how the message is sent?

Customer developed ACS sends this message, I have to construct this message to test.

The customer developed ACS doesn’t appear to follow the CWMP spec.

I resolve this problem by modify the source code and re-install the server.
Thanks everyone.