Serializer transformer

Using the serializer also in populate command and when using the listeners
(https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/332#issuecomment-20684157)