On dynamic programming for sequential decision problems under a general form of uncertainty