this is not really feasible, since i will likely need different serialization groups per type and i also do not want to have to create a different serializer instance per type. furthermore i dont really want to have to pass in the groups in the ``addObject()`` call either, since this is something i would want to configure along with my mappings:
https://github.com/liip-forks/FOQElasticaBundle/compare/master...serializer_support