Update Serializable to accept serialize_when_none option

This is a simple patch to update the `Serializable` type to accept
`serialize_when_none` option and not break when applying the serialization.