Enhanced ggeta function to print empty strings for keys with no values.