.findFirst()
.map(gLocalizedText -> LocalizedText.english(gLocalizedText.getValue()))
.map(localizedText -> Optional.of(localizedText))
.orElse(Optional.empty());
Optional<UnsignedInteger> writeMask = Optional.of(new UnsignedInteger(gNode.getWriteMask()));
Optional<UnsignedInteger> userWriteMask = Optional.of(new UnsignedInteger(gNode.getUserWriteMask()));
return new NodeAttributes(nodeId, nodeClass, browseName, displayName, description, writeMask, userWriteMask);
}