Serialize param, location and logicalgroups ids in timeseries. Also fixed bug in logicalgroup param handling.