Adds new types support to (de)serializerFactory