Validation errors instead of exceptions when serializers receive incorrect types.  Fixes #402.