[ONOS-3405] Change EthType Json encoding to Hex and extend decoding with Hex support alongside int

Change-Id: I629f52016256d6c5cc258ab9e1c5a7b916991d5b
diff --git a/web/api/src/test/resources/org/onosproject/rest/post-flow.json b/web/api/src/test/resources/org/onosproject/rest/post-flow.json
index 939b447..154ef67 100644
--- a/web/api/src/test/resources/org/onosproject/rest/post-flow.json
+++ b/web/api/src/test/resources/org/onosproject/rest/post-flow.json
@@ -13,7 +13,7 @@
     "criteria": [
       {
         "type": "ETH_TYPE",
-        "ethType": 2054
+        "ethType": "0x806"
       }
     ]
   }