parse ip request json properly