We don’t have anything else in the database in json format and I’m not super excited about adding that to the mix. Hence if you need something complex I think a protobuf message is the appropriate thing. The db package already declares some custom messages used in the database, so that could be one place for it.