microptimize options and default merge and other string key array merges
a few more corrections
Merge pull request #3259 from dereuromark/2.5-array-merge

microptimize options and default merge and other string key array merges