config.templates_files for example).
I have created a patch which fixes the problem for one dimensional arrays.
Please note that this doesn't handle multi-dimensional arrays (used by
config.toolbar_Full for example). I might have a go at it later when I'll have more time.