Ninja-return duplicate set values and map keys validation