Viewing a response to: @gokulnk/nestify-a-flat-json-object
Amigo creo que le falta hacer un cierre en el const output2 falta un ]