Implemented Doctrine serializer
Merge pull request #4 from pkruithof/doctrine-serializer

Implemented Doctrine serializer