allow yaml empty key, prevent tailing dot