rest and features-rest: move dependencies to most specific project