Jsj Decompositions of Groups