Support multiple separators in context menu

Fixes #2847 

This allows multiple separators in context menus by interpreting all objects with the value `-` as separators, rather than just objects which have `-` both as the key and the value. 

cc @kevinsawicki