docs: public Reward getAsReward() {
          Reward reward = new Reward();
          for (Map.Entry<Integer, Float> entry : this.map.entrySet()) {
              Integer dimension = entry.getKey();
              Float reward_value = entry.getValue();
              Value reward_entry = new Value();
              reward_entry.setDimension(dimension);
              reward_entry.setValue(new BigDecimal(reward_value));
              reward.getValue().add(reward_entry);
          }
          return reward;
      }