[fix] array_merge is not good enough for us, I have rewrited for us

Php array_merge reindex numerical key in array from 0.

Or the index for curl options is really important as it describes wich options we are configuring... 
Then I have wrote new function array_merge2 and use it in the json client...