diff --git a/inventory_provider/routes/data.py b/inventory_provider/routes/data.py
index 43663aa8e21b53e65282a0e4e7f00ad2cdbf3f32..d9263b55f83e35e24e87f88407bbb9c0a5dab5e6 100644
--- a/inventory_provider/routes/data.py
+++ b/inventory_provider/routes/data.py
@@ -123,10 +123,10 @@ def bgp_configs(hostname):
     def _interfaces(s):
         for ifc in json.loads(s):
             yield {
-                "description": ifc["description"][0],
+                "description": ifc["description"][0]["data"],
                 "as": {
-                    "peer": ifc["peer-as"][0],
-                    "local": ifc["local-as"][0]["as-number"][0]
+                    "peer": ifc["peer-as"][0]["data"],
+                    "local": ifc["local-as"][0]["as-number"][0]["data"]
                 }
             }
     interfaces = list(_interfaces(bgp_data_string.decode('utf-8')))