pub type DynSerializer<O> = Box<dyn Fn(&O) -> Result<Value> + 'static>;
pub struct DynSerializer<O>(/* private fields */);