Changed country name to code in json