add logic for not supported class for serialize