Fix arguments serialization (forgot case != null with size == 0)
Merge pull request #1 from StephaneSeyvoz/master

Fix arguments serialization (forgot case != null with size == 0)