poisson_series/polynomial: implement serialization.