Php Array Merge If Not Empty Python Dictionary Methods Address