API to return properties + initial working implementation of node.setStyle method