Changed merge method for config arrays