add nested serialize test