Json encoder classes now throws UnexpectedValueException as XML classes
[Serializer] fixed CS