switched map key/value type