simplify Dict empty nodes