add symfony2 DataTransformer and EventSubscriber