Make layers.json be more specific about config

Config variables that are meant for the layer itself should now be but
in config, as it makes the semantics more clear.