Only simple values should be grouped for now (like it's done in the
Mozilla dev tools); logic can be enhanced in the future to also cover
objects