Adding functionality to serialize maps and collections directly from Por...

...tableReader/Writer.
So the testMap also test the other things like collection and array?

I think it is better to clean it up. 

Also behaviour with null needs to be well defined (with portable that is a bit of a PITA).