JsonObject data = new JsonObject();
data.addProperty("customField", "customValue");
DeviceMetadata metadata = new DeviceMetadata(data);
this.deviceData = new DeviceData.Builder().
deviceInfo(deviceInfo).
<BUG>deviceLocation(location).</BUG>
deviceFirmware(firmware).
metadata(metadata).
<BUG>build();
location.addPropertyChangeListener(this);</BUG>
firmware.addPropertyChangeListener(this);

JsonObject data = new JsonObject();
data.addProperty("customField", "customValue");
DeviceMetadata metadata = new DeviceMetadata(data);
this.deviceData = new DeviceData.Builder().
deviceInfo(deviceInfo).
deviceFirmware(firmware).
metadata(metadata).
build();
DeviceLocation location = new DeviceLocation();
location.addPropertyChangeListener(this);
firmware.addPropertyChangeListener(this);
