Refactored REST support together with request method limitation support, changed configuration syntax for them