Change references to JMSSerializer concrete class to interface

I ran into trouble with the type hinting when using JMSSerializerBundle. I think using these interfaces as type hints should solve the problem.
Using jms/serializer 0.11.0 and jms/serializer-bundle 0.10