Declarative UI and Principles of REST