change m.id to m.cid for client-side react key binding