Coordinatewise decomposition of group-valued Borel functions