Printing the keys of struct in result