Let’s say you want to remove from your dictionary (object) all elements with value of empty string.
Input:
foo: key1: used key2: "" key3: another_used