Support `{"VALUE" => WEIGHT}` style weight value assignment