Fixed issue with recursion and passing strings into objects.
Fixed issue with recursion and passing strings into objects.

I stumbled upon a bug in when using this merge method directly to merge two query param objects with each other containing only string values. 

e.g, target as {userId: "1234"} source as {userId: "64321"}.

This recursively caused the logic for passing strings into objects kick in as follows:
Target = "1234", Source = "64321".
"1234"["64321"] = true;

Hence the modified else clause to be sure that target is an object and not a string.

Regards
Per
pombredanne/qs,node-modules/safe-qs,nooks/qs,hapijs/qs,monsterwater/qs,bobylito/qs,slang800/qs,5outh/qs,ljharb/qs