the following works (if you are not using distributed monitoring)
lq "GET hosts\nColumns: labels" | tr , '\n' | sort -u
the following works (if you are not using distributed monitoring)
lq "GET hosts\nColumns: labels" | tr , '\n' | sort -u