PLA-719 Change swagger response format. Fix resources