add strategy in serialize and deserealize