public void orderSigners(DocumentPackage documentPackage) {
String path = template.urlFor(UrlTemplate.ROLE_PATH)
.replace("{packageId}", documentPackage.getId().getId())
.build();
List<Role> roles = new ArrayList<Role>();
<BUG>for (com.silanis.esl.sdk.Signer signer : documentPackage.getSigners().values()) {
roles.add(new SignerConverter(signer).toAPIRole(signer.getId()));</BUG>
}
try {
String json = Serialization.toJson(roles);

public void orderSigners(DocumentPackage documentPackage) {
String path = template.urlFor(UrlTemplate.ROLE_PATH)
.replace("{packageId}", documentPackage.getId().getId())
.build();
List<Role> roles = new ArrayList<Role>();
for (com.silanis.esl.sdk.Signer signer : documentPackage.getSigners()) {
roles.add(new SignerConverter(signer).toAPIRole(signer.getId()));
}
try {
String json = Serialization.toJson(roles);
