json config tested and working, ready to merge to default.

--HG--
branch : jsonConfig
extra : close : 1
Oops... we need to give our parent device's deviceID here, not our own.

--HG--
branch : jsonConfig