Prevent failure with null in List toObject
Merge pull request #228 from fabien/fix/list-to-object

Prevent failure with null in List toObject