Add ungrouped list api parameter

Adds the ability to get api output without snaks
being grouped by property

Bug: 55795
Change-Id: I87d20b80686f8b9bf9fe189faaf1aa4b74c8aaf6
Merge "Add ungrouped list api parameter"