Serialization of the control tree basics. Not operational.
Inital serialization using json