Changed ip address request to return json