Make results of application codec and swagger doc desc consistent

Application codec returns permissions, requiredApps and features
in string format. However, based on swagger doc, the codec is
supposed to return array. This commit fixes the type inconsistent
issue raised in application rest api.

Change-Id: If47338b287518a981c98ff89ca543802579c7610
diff --git a/web/api/src/main/resources/definitions/Applications.json b/web/api/src/main/resources/definitions/Applications.json
index 32a225d..9e4f2eb 100644
--- a/web/api/src/main/resources/definitions/Applications.json
+++ b/web/api/src/main/resources/definitions/Applications.json
@@ -66,7 +66,7 @@
           "permissions": {
             "type": "array",
             "xml": {
-              "name": "hosts",
+              "name": "permissions",
               "wrapped": true
             },
             "items": {