I am implementing an API that returns different root objects inside the body. For example:
{
"money_expected_revenue": {
// payload
}
}
or
{
"money_other_revenue": {
// payload
}
}
The module output should be the payload inside the root object. How can this be done?