Added id field to serialization of parameters, locations and logicalgroups.