Collapse key must be string