Function expandPath

The docs for many language servers show settings in the VSCode format, e.g.: "pyls.plugins.pyflakes.enabled"

VSCode converts that dot notation to JSON behind the scenes, as the language servers themselves don't accept that syntax.