Goldi-ox : mixing metals and valences in halide perovskites