control: Store zone data in the dump

Store the Zone class's attributes in the debug dump.

    "zones": {
        "0": {
            "active": true,
            "decrease_allowed": {},
            "decrease_delta": 0,
            "decrease_interval": 30,
            "default_ceiling": 11200,
            "default_floor": 8000,
            "floor": 8000,
            "floor_change": {},
            "holds": {},
            "increase_delay": 5,
            "increase_delta": 0,
            "persisted_props": {},
            "power_on_target": 11200,
            "requested_target_base": 0,
            "target": 11200
        }
    }

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I9e84f95f892b1cb549b0c988e0f79e8bb5d659c2
diff --git a/control/json/zone.hpp b/control/json/zone.hpp
index ddc17c1..fadfe13 100644
--- a/control/json/zone.hpp
+++ b/control/json/zone.hpp
@@ -377,6 +377,13 @@
         };
     }
 
+    /**
+     * @brief Dump the attributes into JSON
+     *
+     * @return json - JSON object with the attributes
+     */
+    json dump() const;
+
   private:
     /* The zone's associated dbus object */
     std::unique_ptr<DBusZone> _dbusZone;