Best Way to create nested field

Is it possible to do the same thing with the all body message?
(without to to it for all single fields)
Example:

"something1":"11111",
"something2":"22222",
"something3":"33333"

transform it in:

event{
payload{
"something1":"11111",
"something2":"22222",
"something3":"33333"
}
}