Multimode mediated qubit-qubit coupling and dark-state symmetries in circuit quantum electrodynamics