Multidimensional array CURL fix