Merge config arrays and overwrite config strings