serializer end lines with newline
Merge pull request #8 from yanhick/fix-serialize-newline

serializer end lines with newline