Getting IP from json