Avoid calling into moved from objects
Avoid calling into moved from objects

The countryCode and callingCodes objects are being moved into
countryCallingCodes at the end of the `while(!exit)` loop, but on the
next iteration of `while(clien->json.enterobject())` they are being
accessed again. This moves their declaration into the outer loop to
avoid this.

meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk