new API with metadata
small fix on NodeCommand for null runtimeproperty