Configure the serializer to use with a SerializationContext