encoding groups to kieler service as subgraphs (hacky)