Allow for nested $config arrays

Eventually I'd like to rewrite, where you can loop through arrays with a tag pair, etc. But this will do for now.