This has been cleaned up and improved in Smooks v1.0, so I'll have to look back and see how this is done with v0.9 (used by the ESB).
Will post back later.
Had a look at this and it's a bug in Smooks v0.9 (fixed in v1.0). It's to do with how it manages the lifecycle on lists.
The non-patch fix is straightforward enough and is available in the zip linked to below. Basically it's a new simple visitor that resets the bean list at the right time, resulting in a new "inner" list being added to each of the "outer" lists (as opposed to the same one being added to each).
Download the following zip: beanpop2.zip. See the "RestBean" class in the src and how it's used in the smooks-config.xml.
I have tried it out, and it works fine.
Thanks a lot!
Is there a place, where it is described what it takes to perform the patch?