Serialize to json
Map<String, dynamic> toJson() => Serializer.moveKeysToMapInPlace(_$ActivityToJson(this), topLevelFields);