Updated groupon api processing