jg.writeBooleanField("handlingLabels", entity.isHandlingLabels()); List<String> supportedControls = entity.getSupportedControls(); if (CollectionUtils.isNotEmpty(supportedControls)) { writeSerializableListField("supportedControls", supportedControls, jg);