PoolParam: Implement serialize and deserialize.