Fix for ONOS-4675: FLOW ID is not matching with the one added in the ONOS

Change-Id: I1730ec5ae0692651cb774c2b546c31773115676c
diff --git a/web/api/src/main/java/org/onosproject/rest/resources/FlowsWebResource.java b/web/api/src/main/java/org/onosproject/rest/resources/FlowsWebResource.java
index a11ce09..e026662 100644
--- a/web/api/src/main/java/org/onosproject/rest/resources/FlowsWebResource.java
+++ b/web/api/src/main/java/org/onosproject/rest/resources/FlowsWebResource.java
@@ -126,7 +126,7 @@
             rules.forEach(flowRule -> {
                 ObjectNode flowNode = mapper().createObjectNode();
                 flowNode.put(DEVICE_ID, flowRule.deviceId().toString())
-                        .put(FLOW_ID, flowRule.id().value());
+                        .put(FLOW_ID, Long.toString(flowRule.id().value()));
                 flowsNode.add(flowNode);
             });
         } catch (IOException ex) {