changes processing of REST api