"Unable to get XML representation of project from the repository",
e);
}
} else if (command.isJSON()) {
try {
return person.toJSON();
} catch (SimalRepositoryException e) {
throw new SimalAPIException(
"Unable to get XML representation of project from the repository",
e);
}