Representing Yosida-Hewitt decompositions for classical and non-commutative vector measures