fix value type convert to string
fix value type convert to string

`value as string` in ts is just `value` in js, it's not really converted.
redhat-developer/yaml-language-server,redhat-developer/yaml-language-server