Reducing the output to only labels and values