for (final DevicePattern devicePattern : devicePatterns) {
builder.appendDevicePattern(devicePattern);
}
final List<Device> devices = deserializeType(context, entry, SerializableDataField.DEVICES, Device.class);
for (final Device device : devices) {
builder.appendDevice(device);
}
if (SerializableDataField.VERSION.getName().equals(entry.getKey())) {
builder.setVersion(entry.getValue().getAsString());
}
}