Apparently we have a problem reading map of structures, only one item is been read and the other come as undefined in the result map on the client side.
I was having this with some complex maps and notice that the test case 'testInsanity' was quite similar to my case but was actually been tested at all. Then checking its result I could see that's it actually a general problem.
The server sends 2 elements:
but we can only read 1:
on my code it also happens with 3 or more structures, only the first one is read, the second is "undefined" and the rest is gone!
ps.: I'm submitting the patch for the unit test. I had a quick look on the code but could find anything yet and won't have time in the next weeks...