Added null control in serializer
Merge pull request #53 from Alotor/master

Added null control in serializer