JMSSerializerBundle 1.0 compatibility

not really sure how you guys want to handle merging this, since it breaks compatibility with previous versions of the bundle. see also https://github.com/FriendsOfSymfony/FOSRestBundle/issues/330