Check Serializer against Interface, not Class
Merge pull request #481 from jsampedro77/use-serializer-interface

ViewHandler, check Serializer against Interface, not against concrete class