Put back a ctor of BeanSerializer