Multiple layers of REST services