Error in json. string not an int