Added shared module to minification list.
Updated API module to return consistent JSON responses instead of relying on service layer json