[bindings] Support mapping slices which contain tuples (with refs)