I could keep that logic in **getKeysToErase**, but then **key?** is still a key by YAML specs and some other functions might need to know whether there is a question mark or not so removing it from key is very special case like this one and it belongs here.