in reply to Dumping compact YAML

YAML helps solve a set of problems. These do not specifically include a) compactness of config options or b) speed of loading config options.

You don't want YAML to have these things. You do not want YAML to be able to be written the way you want it.