use the correct error serializer
removed empty lines
Merge pull request #168 from matomesc/master_matomesc

Use the correct error serializer