These things are Codable so you can work with them just like with any other standard data type. Also the FamilyActivitySelection is also Codable so you can store it in its entirety.
If you really want string, then you need to look at how to transform Data to one after you use JSONEncoder
Topic:
App & System Services
SubTopic:
General
Tags: