Get default input/output spec from node attributes