moved from XML to json for device_config serialization