fixed bug with empty list, when empty list will be converted to null
Merge pull request #2 from na1s/master

fixed bug with empty list, when empty list will be converted to null