This should not be a bare except. It is documented that a serializer must raise `ValueError` on malformed inputs.