pub fn vecs_to_maps(
    proposals: Vec<Proposal>,
    voteplans: Vec<VotePlanStatus>,
    challenges: Vec<Challenge>
) -> Result<(HashMap<Hash, Proposal>, HashMap<Hash, VoteProposalStatus>, HashMap<i32, Challenge>)>