Between Maharam's and von Neumann's problems