Array keys in config files can contain placeholders too

Implementation of #766 feature request.