class AbstractVoteProposerMethod {

  public JsonRpcResponse response(final JsonRpcRequestContext requestContext) {
    final Map<String, Boolean> proposals =
        voteProposer.getProposals().entrySet().stream()
            .collect(
                Collectors.toMap(
                    proposal -> proposal.getKey().toString(),
                    proposal -> proposal.getValue() == VoteType.ADD));

    return new JsonRpcSuccessResponse(requestContext.getRequest().getId(), proposals);
  }

  public  AbstractVoteProposerMethod(final VoteProposer voteProposer);

}