Add func attrnames that just does names(attributes( obj ))