use array helper for merging configs