Set group at recursive serialization